package com.jic.manager.mapper;

import com.jic.manager.entity.CmsModuleChannel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * cms模块渠道关系表
 * @author : 
 * @email : 
 * @since : 2020-03-05 12:00:05
 * @version : v1.0.0
 */
@Mapper
public interface  CmsModuleChannelMapper {

    long insert(CmsModuleChannel cmsModuleChannel);

    long delete(Long id);

    long update(CmsModuleChannel cmsModuleChannel);

    CmsModuleChannel queryByPrimaryKey(Long id);

    List<CmsModuleChannel> query(CmsModuleChannel cmsModuleChannel);

    List<CmsModuleChannel> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("cmsModuleChannel") CmsModuleChannel cmsModuleChannel);

    long queryPageCount(CmsModuleChannel cmsModuleChannel);
}